| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | import Backbone from 'backbone'; |
||
| 36 | render: function () { |
||
| 37 | this.$el.empty(); |
||
| 38 | |||
| 39 | var td = document.createElement("td"); |
||
| 40 | td.setAttribute("colspan", this.columns.length); |
||
| 41 | var span = document.createElement("span"); |
||
| 42 | span.innerHTML = _.result(this, "emptyText"); |
||
| 43 | td.appendChild(span); |
||
| 44 | |||
| 45 | this.el.className = "empty"; |
||
| 46 | this.el.appendChild(td); |
||
| 47 | |||
| 48 | return this; |
||
| 49 | } |
||
| 50 | }); |
||
| 54 |